<template>
  <div id="app">
    <!-- <h1>{{ message }}</h1>
    <h2>客户端动态交互</h2>
    <div>
      <input v-model="message" />
    </div>
    <div>
      <button @click="onClick">点击测试</button>
    </div> -->

    <ul>
      <li>
        <router-link to="/">Home</router-link>
      </li>
      <li>
        <router-link to="about">About</router-link>
      </li>
      <li>
        <router-link to="posts">Posts</router-link>
      </li>
    </ul>
    <!-- 路由出口 -->
    <router-view />
  </div>
</template>

<script>
export default {
  name: "APP",
  data() {
    return {
      message: "徐镜泉",
    };
  },
  methods: {
    onClick() {
      console.log("Learn SSR");
    },
  },
};
</script>
<style scoped></style>
